<div id="company">
<div class="common_box">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
	<tr>
		<td class="guide_ba"><span><{$lang.company}></span></td>
	</tr>
	<tr>
		<td class="com_intro">
				<{if $com.img!=""}>
				 <a href="shop.php?uid=<{$smarty.get.uid}>&action=profile&m=company">
				 <img src="<{$com.img}>" style="float:right; width:250px; border:1px solid #CCCCCC;margin-left:10px;">
				 </a>
				<{/if}>
				<{$com.intro|strip_tags|truncate:1100}>... <a href="shop.php?uid=<{$smarty.get.uid}>&action=profile&m=company"> >> </a>
		</td>
	 </tr>
 </table>
</div>
</div>
<div class="m1">
<{if $shopconfig.home_newoffer_show=='1'}>
<div id="supply">
	<div class="common_box">
   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr>
			<td class="guide_ba">
				<span><{$shopconfig.home_newoffer_name}></span>
				<a href="shop.php?uid=<{$smarty.get.uid}>&action=offer_list&m=offer"><img src="<{$config.weburl}>/image/default/moretu.jpg" /></a>
			</td>	
		</tr>
		<tr>
			<td height="100" class="com_intro">
				 <{insert name="getOffers" leng="50" limit=$shopconfig.home_news_nums  userid=$com.userid}>
			</td>
		 </tr>
     </table>
    </div>
</div>
<{/if}>
<{if $shopconfig.home_news_show=='1'}>
<div id="news" style="margin-left:8px;">
	<div class="common_box">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr>
			<td class="guide_ba">
				<span><{$shopconfig.home_news_name}></span>
				<a href="shop.php?uid=<{$smarty.get.uid}>&action=news_list&m=news"><img src="<{$config.weburl}>/image/default/moretu.jpg" /></a>
			</td>
		</tr>
		<tr>
			<td height="100" class="com_intro">
				<{insert name="getNews" leng="50"  limit=$shopconfig.home_news_nums  user="true" userid=$com.userid}>
			</td>
		 </tr>
	 </table>
  </div>
</div>
<{/if}>
<div class="clear"></div>
</div>
<{if $shopconfig.home_contact_show=='1'}>
    <div id="product" class="m1">
    	  <div class="common_box">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" >
				<tr>
					<td class="guide_ba">
						<span>推荐产品</span>
						<a href="shop.php?uid=<{$smarty.get.uid}>&action=offer_list&m=offer"><img src="<{$config.weburl}>/image/default/moretu.jpg" /></a>
					</td>
				</tr>
				<tr>
					<td class="com_intro">
								
<style>
.blk_29 { OVERFLOW: hidden; ZOOM: 1; POSITION: relative}
.blk_29 .LeftBotton{ BACKGROUND: url(image/default/leftarraw.jpg) no-repeat 0px 0px; LEFT: 5px; FLOAT: left; WIDTH: 25px; CURSOR: pointer;  HEIGHT: 100px;margin-top:50px;}
.blk_29 .RightBotton { RIGHT: 5px; BACKGROUND: url(image/default/rightarraw.jpg) no-repeat; FLOAT: right; WIDTH: 30px; CURSOR: pointer;  HEIGHT: 100px;margin-right:-10px;margin-top:50px;}
.blk_29 .Cont { MARGIN: 0px auto; OVERFLOW: hidden; WIDTH: 660px; PADDING-TOP: 5px; float:left;}
.blk_29 .box { FLOAT: left; WIDTH: 120px; TEXT-ALIGN: center; border:1px solid #CCCCCC; height:100px; margin:3px;}
</style>
<div class="blk_29">
	<div class="LeftBotton" id="LeftArr"></div>
	<div class="Cont" id="ISL_Cont_1">
		<{insert name="label" type="offer" comid=$smarty.get.uid temp="pro_space_index" limit=30 offerid=$rec_pro}>
	</div>
	<div class="RightBotton" id="RightArr"></div>
</div>
<script src="script/flow.js"></script>
<script language=javascript type=text/javascript>
  var scrollPic_02 = new ScrollPic();
  scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID
  scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID
  scrollPic_02.arrRightId     = "RightArr"; //右箭头ID
  scrollPic_02.frameWidth     = 660;//显示框宽度
  scrollPic_02.pageWidth      = 110; //翻页宽度
  scrollPic_02.speed          = 10; //移动速度(单位毫秒，越小越快)
  scrollPic_02.space          = 10; //每次移动像素(单位px，越大越快)
  scrollPic_02.autoPlay       = false; //自动播放
  scrollPic_02.autoPlayTime   = 3; //自动播放间隔时间(秒)
  scrollPic_02.initialize(); //初始化
</script>
</td>
</tr>
</table>
            </div>
    </div>
<{/if}>